package com.fk.servlet;

import java.io.IOException;

import java.util.List;


import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.fk.dao.impl.DesignerDaoImpl;
import com.fk.entity.Designer;



public class AboutServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
   

	
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		DesignerDaoImpl designerDao = new DesignerDaoImpl();
		List<Designer> desList = designerDao.getDesigner();
		request.setAttribute("desList", desList);

		request.getRequestDispatcher("about.jsp").forward(request, response);
		
	}

	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
		doGet(request, response);
	}

}
